package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Category;

import java.util.List;

public interface CategoryService {
    //添加
    void addCategory(Category category);
    //查找所有
    List<Category> findAll();

    void updateCategory(Category category);

    ResultInfo deleteCateGory(Long id);

    List<Category> findCategoryList(Integer type);
}
